//
//  MBOrderPayViewModel.m
//  MemberBusiness-ios
//
//  Created by 掌心 on 2018/6/1.
//  Copyright © 2018年 zhangXin. All rights reserved.
//

#import "MBOrderPayViewModel.h"
#import "MBOrderPayCellViewModel.h"

@implementation MBOrderPayViewModel

-(void)setUpData
{
    [super setUpData];
    
    [self factoryInitDataModelArray:@[@""] cellViewModelClass:[MBOrderPayCellViewModel class]];
}

-(NSInteger)numberOfSections
{
    return 1;
}

-(NSInteger)numberOfRowInSection:(NSInteger)section
{
    return self.dataArray.count;
}

-(MBBaseTableCellViewModel *)cellViewModelForRowAtIndexPath:(NSIndexPath *)indexPath
{
    return self.dataArray[indexPath.section];
}


@end
